import request from "./Request.js";

/**
 * 发送验证码
 */
export function getCheckCode(email, type) {
	return request({
		url: "/checkCode/sendCode",
		data: {
			type: type
		},
		method: "POST",
		useLocalEmail: false,
		email: email
	});
}